#coding=utf-8
from django.db import models

# Create your models here.

#产品信息
class Product(models.Model):
    name = models.CharField(max_length =50, unique = True)
    description = models.CharField(max_length = 300)
    profit_rate = models.FloatField()
    amount = models.FloatField()
    start_time = models.DateTimeField()
    end_time = models.DateTimeField()
    min_capital = models.FloatField()
    